package com.mktech.taraservice.service;

import java.util.HashMap;
import java.util.Map;

import com.android.volley.Request;
import com.android.volley.Response;
import com.android.volley.VolleyError;
import com.mktech.taralib.entity.homefetch.HomeFetchRequestVo;
import com.mktech.taralib.entity.login.LoginBean;
import com.mktech.taralib.http.VolleyHelper;
import com.mktech.taraservice.db.DBHelper;
import com.mktech.taraservice.db.MovieDBManager;
import com.mktech.taraservice.entity.EventMessagVo;
import com.mktech.taraservice.http.HttpBuilder;
import com.mktech.taraservice.http.customvolleyrequest.LoginBeanRequest;
import com.mktech.taraservice.util.LogTool;

import de.greenrobot.event.EventBus;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.os.RemoteException;

public class TaraService extends Service
{
	private TaraManagerImpl mImpl = new TaraManagerImpl();
	private TaraManager mIBinder = new TaraManager(mImpl);

	MovieDBManager mg;

	@Override
	public IBinder onBind(Intent intent)
	{
		// TODO Auto-generated method stub
		return mIBinder;
	}

	@Override
	public void onCreate()
	{
		// TODO Auto-generated method stub
		super.onCreate();
		LogTool.i("TaraService onCreate!");
		EventBus.getDefault().register(this);
	}

	@Override
	public void onDestroy()
	{
		// TODO Auto-generated method stub
		super.onDestroy();
		EventBus.getDefault().unregister(this);
	}

	public void onEventMainThread(EventMessagVo vo)
	{
		
	}
}
